package com.ruoyi.project.cms.notice.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 *com.ruoyi.project.cms.notice.domain
 *作者：lh
 描述:
 *时间:2020-05-17
 */
public class CmsNotice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private int nid;

    /**
     * 公告名
     */
    private String nname;

    private int tid;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date nbtime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date notime;

    private String ndesc;

    private String nanthor;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date ntime;

    private int npageviews;

    private String npeople;

    private String tname;

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public int getNid() {
        return nid;
    }

    public void setNid(int nid) {
        this.nid = nid;
    }

    public String getNname() {
        return nname;
    }

    public void setNname(String nname) {
        this.nname = nname;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public Date getNbtime() {
        return nbtime;
    }

    public void setNbtime(Date nbtime) {
        this.nbtime = nbtime;
    }

    public Date getNotime() {
        return notime;
    }

    public void setNotime(Date notime) {
        this.notime = notime;
    }

    public String getNdesc() {
        return ndesc;
    }

    public void setNdesc(String ndesc) {
        this.ndesc = ndesc;
    }

    public String getNanthor() {
        return nanthor;
    }

    public void setNanthor(String nanthor) {
        this.nanthor = nanthor;
    }

    public Date getNtime() {
        return ntime;
    }

    public void setNtime(Date ntime) {
        this.ntime = ntime;
    }

    public Integer getNpageviews() {
        return npageviews;
    }

    public void setNpageviews(Integer npageviews) {
        this.npageviews = npageviews;
    }

    public String getNpeople() {
        return npeople;
    }

    public void setNpeople(String npeople) {
        this.npeople = npeople;
    }
}